package edu.lsnu.equipment_management_system.pojo.vo.in;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author mzy
 * @Description 来自界面的调入申请
 * @date 2018/11/18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EquipmentTransferInFromPage implements Serializable {
    private String equipmentCategoryNo; // --- 设备类别
    private String placeNo;             // --- 存放场所
    private Integer number;           // --- 数量
    private Double price;             // --- 单价
    // private Double totalPrice;        // --- 总价
    private String equipmentName;     // --- 设备名称
    private String type;              // --- 型号
    private String guiGe;             // --- 规格
    private String shippingNo;        // --- 出票号码

    private String equipmentNo; // --- 设备编号（1--3之间）
    private String deliveryUnit;      // --- 供货单位
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date purchaseDate;        // --- 进货日期
    private String application;       // --- 用途
    private String manufacturer;      // --- 出产厂家
    private String manufacturerNo;    // --- 制造号
    private String remark;            // --- 备注

    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date transerDate;         // --- 调拨日期
    private String transerReason;     // --- 调拨原因
    private String transerOutUnit;    // --- 调出单位
    private String transerInUnit;     // --- 调入单位

    // -- 新增字段
    private String attachmentName; // 附件名称
    private String attachmentGuiGe; // 附件规格
    private Integer attachmentNumber; // 附件数量
    private String leaderOfUserUnit; // 使用单位负责人
    private String purchaser; // 采购人
    private String acceptor; // 验收人
    private String bookkeeper; // 记账人

    private String utilizationTemplateNo; // 利用率模板代码
}
